﻿using NineSeas.Models;
using Orchard.Taxonomies.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace NineSeas.ViewModels
{
    public class BookViewModel
    {
        public int? Id { get; set; }
        public string Name { get; set; }
        public string NameOnUrl { get; set; }
        public string Introduction { get; set; }
        public string ImageUrl { get; set; }
        public string ImageStoragePath { get; set; }
        public string Tags { get; set; }
        public IEnumerable<TermPart> Categories { get; set; }
        public string CategoryIds { get; set; }
        public string SaveType { get; set; }
        public string ScheduledPublishDate { get; set; }
        public string ScheduledPublishTime { get; set; }
        public BookTypeEnum BookType { get; set; }
        public string FileUrl { get; set; }
        public string FileStoragePath { get; set; }

        public BookViewModel()
        {
            BookType = BookTypeEnum.Text;
        }


    }
}